package com.shouer.doc.ui.ordermanager.adapter;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;

import com.facebook.drawee.view.SimpleDraweeView;
import com.shouer.doc.R;

/**
 * Created by ZXL on 2016/11/29.
 */

public class FinishedOrderViewHolder extends RecyclerView.ViewHolder {

    protected SimpleDraweeView patIcoView;
    protected TextView userNameView;
    protected TextView userAgeView;
    protected TextView userGenderView;

    protected View detailView;
    protected TextView descriptionView;
    protected View orderInfoLayout;
    protected TextView orderTimeView;
    protected TextView orderTelView;
    protected TextView durationView;
    protected View telLayout;
    protected TextView createTimeView;
    protected ImageView orderTypeView;

    public FinishedOrderViewHolder(View itemView) {
        super(itemView);
        patIcoView= (SimpleDraweeView) itemView.findViewById(R.id.pat_ico);
        userNameView= (TextView) itemView.findViewById(R.id.name);
        userGenderView= (TextView) itemView.findViewById(R.id.gender);
        userAgeView= (TextView) itemView.findViewById(R.id.age);

        detailView=itemView.findViewById(R.id.detail_info);
        descriptionView= (TextView) itemView.findViewById(R.id.description);
        orderInfoLayout=itemView.findViewById(R.id.order_info_layout);
        orderTimeView= (TextView) itemView.findViewById(R.id.order_time);
        orderTelView= (TextView) itemView.findViewById(R.id.order_tel);
        durationView= (TextView) itemView.findViewById(R.id.duration);
        telLayout=itemView.findViewById(R.id.tel_layout);
        createTimeView= (TextView) itemView.findViewById(R.id.time);
        orderTypeView= (ImageView) itemView.findViewById(R.id.type_ico);
    }

}
